Do not unset the brand new current page if there was none set previously.
authorCarlos Garnacho <carlos@imendio.com>
Fri, 18 May 2007 09:42:52 +0000 (09:42 +0000)
committerCarlos Garnacho <carlosg@src.gnome.org>
Fri, 18 May 2007 09:42:52 +0000 (09:42 +0000)
commita1498f769747e0fad97803dfdb7329ae76697c49
treef4739efd4dc8127cdb99ed232260d508a2131be2
parente0cb3c7d07a5a74764f69e858b5c7a82d5a791ec
Do not unset the brand new current page if there was none set previously.

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
        the brand new current page if there was none set previously. Fixes
        #425138 (Reported by Michail Crayson). Some code simplifications.
        (gtk_notebook_draw_arrow): code style fix.

svn path=/trunk/; revision=17858
ChangeLog
gtk/gtknotebook.c